Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |method

http/method::|method


Usage

|method(name)

Parameters

↳ name: string

Return

Option<HttpMethod>


Parse an HTTP method by name.

Returns None if name is not a recognised HTTP method string.